package com.example.demo.ShiroConfig;

/**
 * ClassName:LoginType
 * Package:com.example.demo.ShiroConfig
 * Description:
 *
 * @date:2020/3/20 9:08
 * @author:
 */
public enum LoginType {
    PASSWORD("password"),   ///密码登录
    NOPASSWD("nopassword");   //免密登录

    private String code;// 状态值

    private LoginType(String code) {
        this.code = code;
    }

    public String getCode() {
        return code;
    }

}
